import Vue from 'vue'
import VueRouter from 'vue-router'
import Detail from '../views/Detail'
import List from '../views/List'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Detail',
    component: Detail
  },{
    path: '/ls',
    name: 'List',
    component: List
  }
]

const router = new VueRouter({
  routes
})

export default router
